package com.xiaohongaiweno.eurekaconsumer.service;

import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

@Service
public class HelloRemoteHystrix implements HelloRemote{
    @Override
    public String hello(@RequestParam(value = "name") String name) {
        return "EnableCircuitBreaker hello" + name +", this messge send failed ";
    }
}
